const Mock = require('mockjs')

module.exports = {
    'get /dpyhj'(req, res) {
        res.status(200).json(Mock.mock({
            'data': {
                'dp_list|1-3': [{
                    'shop_ID|10-100': 0,
                    'shop_name': '美宜佳-' + '@cword(2)' + '店',
                    "yhj_name": '元旦好礼' + '@integer(1,100)' + '元优惠卷',
                    'yhj_price': '@integer(1,100)',
                    'price_xz': '无',
                    'sy_time|1-7': 0,
                    'faf_total|10-100': 0,
                    'lq_price|10-100': 0
                }]
            },
            'status': 200,
            'message': '获取数据成功'
        }))
    },
}